import request from '@/utils/request'


export function getdownBox(data) {
	return request({
		url: '/system/playerLog/downBox',
		data: data,
		method: 'get'
	})
}

export function getfen(data) {
	return request({
		url: '/system/playerLog/getScore',
		data: data,
		method: 'get'
	})
}




export function getplayerLog(data) {
	return request({
		url: '/system/playerLog',
		data: data,
		method: 'post'
	})
}


export function putplayerPositionLog(data) {
	return request({
		url: '/system/playerPositionLog',
		data: data,
		method: 'put'
	})
}

export function getcreatePosition(data) {
	return request({
		url: '/system/playerPositionLog/createPosition',
		data: data,
		method: 'get'
	})
}

export function postsubstitution(data) {
	return request({
		url: '/system/playerPositionLog/substitution',
		data: data,
		method: 'post'
	})
}


export function getrealTimeData(data) {
	return request({
		url: '/system/playerLog/realTimeData',
		data: data,
		method: 'get'
	})
}


export function getrealTimeDataTeam(data) {
	return request({
		url: '/system/playerLog/realTimeDataTeam',
		data: data,
		method: 'get'
	})
}



export function getplayerPositionLogList(data) {
	return request({
		url: '/system/playerPositionLog/list',
		data: data,
		method: 'get'
	})
}


export function overTournament(data) {
	return request({
		url: '/system/tournament/overTournament',
		data: data,
		method: 'get'
	})
}


export function getplayerLogList(data) {
	return request({
		url: '/system/playerLog/list',
		data: data,
		method: 'get'
	})
}



 
 
 export function putplayerLog(data) {
 	return request({
 		url: '/system/playerLog',
 		data: data,
 		method: 'put'
 	})
 }
 
 
 export function delplayerLog(id) {
 	return request({
 		url: `/system/playerLog/${id}`,
 		method: 'delete'
 	})
 }